//    Copyright (C) Kherty.  All rights reserved.
using System.Collections.Generic;

namespace OpenLS.Spreadsheet.Extensibility
{
    ///<summary>
    /// Defines methods that provide support for localizing function names
    ///</summary>
    public interface IFunctionLocalizer
    {
        ///<summary>
        /// Get the local name of a function name
        ///</summary>
        ///<param name="name"></param>
        ///<returns></returns>
        string GetLocalName(string name);
        ///<summary>
        /// Get the global name of a function
        ///</summary>
        ///<param name="name"></param>
        ///<returns></returns>
        string GetGlobalName(string name);
        ///<summary>
        /// Initialize with a list of global names;
        ///</summary>
        ///<param name="globalNames"></param>
        void Initialize(IEnumerable<string> globalNames);
    }
}
